package com.fansin.hyperledger.fabric.java;

import org.hyperledger.fabric.sdk.BlockEvent;
import org.hyperledger.fabric.sdk.ChaincodeEvent;

/**
 * <p>Title: ChaincodeEventCapture</p>
 * <p>Description: </p>
 *
 * @author zhaofeng
 * @version 1.0
 * @date 18-8-23
 */
public class ChaincodeEventCapture {

    final String         handle;
    final BlockEvent     blockEvent;
    final ChaincodeEvent chaincodeEvent;

    ChaincodeEventCapture(String handle, BlockEvent blockEvent, ChaincodeEvent chaincodeEvent) {
        this.handle = handle;
        this.blockEvent = blockEvent;
        this.chaincodeEvent = chaincodeEvent;
    }
}
